module.exports = {
      devServer: {
		  disableHostCheck: true,
        port: 9520,
        open: true,
        overlay: {
          warnings: false,
          errors: true
        },
        proxy: {"/api": {
            target: "https://iot.1688iot.vip/api",
             // target: "http://192.168.1.53:8888/",
            // target: "http://192.168.1.87:8888/",
            changeOrigin: true,
            pathRewrite: {
              '^/api': ''
            }
		}},
       // before: require('./mock/mock-server.js'),
    /*    pluginOptions: {
          'style-resources-loader': {
            preProcessor: 'less',
           // patterns: [path.resolve(__dirname, "src/common/less/variable.less")] // 引入全局样式变量
          }
        }*/
      },
}